package com.punai.gk.domain;

import com.punai.common.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 编码格式对象 code_layout
 *
 * @author zhx
 * @date 2023-06-08
 */
public class CodeLayout
        {
private static final long serialVersionUID = 1L;

    /** $column.columnComment */
        private String id;

    /** 公司id */
            @Excel(name = "公司id")
        private Long companyId;

    /** 数据类型 */
            @Excel(name = "数据类型")
        private String type;

    /** 专业id */
            @Excel(name = "专业id")
        private String specId;

    /** 前缀 */
            @Excel(name = "前缀")
        private String prefix;

    /** 自定义编码长度 */
            @Excel(name = "自定义编码长度")
        private Integer suffixLen;

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setCompanyId(Long companyId)
            {
            this.companyId = companyId;
            }

    public Long getCompanyId()
            {
            return companyId;
            }
    public void setType(String type)
            {
            this.type = type;
            }

    public String getType()
            {
            return type;
            }
    public void setSpecId(String specId)
            {
            this.specId = specId;
            }

    public String getSpecId()
            {
            return specId;
            }
    public void setPrefix(String prefix)
            {
            this.prefix = prefix;
            }

    public String getPrefix()
            {
            return prefix;
            }

            public Integer getSuffixLen() {
                return suffixLen;
            }

            public void setSuffixLen(Integer suffixLen) {
                this.suffixLen = suffixLen;
            }

            @Override
public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyId", getCompanyId())
            .append("type", getType())
            .append("specId", getSpecId())
            .append("prefix", getPrefix())
            .append("suffixLen", getSuffixLen())
        .toString();
        }
        }
